{% extends 'SonataAdminBundle:CRUD:base_list_field.html.twig' %}

{% block field %}
    {% if object.uploadedFile %}
    <a href="{{ object.getFileWebPath() }}" title="{{ object }}" alt="{{ object }}">{{ object }}</a>
    {% else %}
    NULL
    {% endif %}
{% endblock %}